<?php   
 /* CAT:Temperatur und Luftfeuchtigkeit */

 /* pChart library inclusions */
$Sensor = $_GET['SensorID'];
$start = $_GET['Start'];
$type = $_GET['Type'];
$show = $_GET['Show'];

$trend=substr($Sensor, 0, 1);
$SensorID=substr($Sensor, -1);

switch ($trend)
{
case 'T':
	include("Trend/Trends/TemperatureChart.php");
	drawy($SensorID, $start, $type, $show);
	
case 'P':
include("Trend/Trends/PressureChart.php");
drawy(0);
	


}
?>